<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Test - unFocus.SwfShim</title>
<!--
unFocus.Tests (svn $Revision: 32 $) $Date: 2009-06-13 07:32:05 +0000 (Sat, 13 Jun 2009) $
Copyright: 2007-2009, Kevin Newman (http://www.unfocus.com/)
http://www.opensource.org/licenses/mit-license.php
-->
<script type="text/javascript" src="../javascript/SwfHTML.js"></script>
<script type="text/javascript" src="../javascript/SwfShim.js"></script>
<script type="text/javascript" src="../javascript/FlashPlayerInfo.js"></script>
</head>

<body>
<script type="text/javascript">
	var hp_bl_ID = 'test_swf';
	var hp_bl_HTML = new unFocus.SwfHTML();
	hp_bl_HTML.setWidth(240);
	hp_bl_HTML.setHeight(320);
	hp_bl_HTML.setId(hp_bl_ID);
	hp_bl_HTML.setName(hp_bl_ID);
	hp_bl_HTML.setScale('noscale');
	hp_bl_HTML.setSAlign('tl');
	hp_bl_HTML.setWMode('opaque');
	hp_bl_HTML.setBGColor('#FFFFFF');
	
	hp_bl_HTML.setSrc('test6.swf');
	
	hp_bl_HTML.addFlashvar('flashvar1', 'test value, as2');
	
	hp_bl_HTML.writeToDocument(document);
</script>
<script type="text/javascript">
	var hp_bl_ID = 'test_swf';
	var hp_bl_HTML = new unFocus.SwfHTML();
	hp_bl_HTML.setWidth(240);
	hp_bl_HTML.setHeight(320);
	hp_bl_HTML.setId(hp_bl_ID);
	hp_bl_HTML.setName(hp_bl_ID);
	hp_bl_HTML.setScale('noscale');
	hp_bl_HTML.setSAlign('tl');
	hp_bl_HTML.setWMode('opaque');
	hp_bl_HTML.setBGColor('#FFFFFF');
	
	hp_bl_HTML.setSrc('test9.swf');
	
	hp_bl_HTML.addFlashvar('flashvar1', 'test value, as3');
	
	hp_bl_HTML.writeToDocument(document);
</script>
<hr>
<script type="text/javascript">
	var hp_bl_ID = 'test_swf';
	var hp_bl_HTML = new unFocus.SwfShim("SwfShim.swf");
	hp_bl_HTML.setWidth(240);
	hp_bl_HTML.setHeight(320);
	hp_bl_HTML.setId(hp_bl_ID);
	hp_bl_HTML.setName(hp_bl_ID);
	hp_bl_HTML.setScale('noscale');
	hp_bl_HTML.setSAlign('tl');
	hp_bl_HTML.setWMode('opaque');
	hp_bl_HTML.setBGColor('#FFFFFF');
	
	hp_bl_HTML.setSrc('test6.swf');
	
	hp_bl_HTML.addFlashvar('flashvar1', 'test value, as2');
	
	hp_bl_HTML.writeToDocument(document);
</script>
<script type="text/javascript">
	var hp_bl_ID = 'test_swf';
	var hp_bl_HTML = new unFocus.SwfShim("SwfShim.swf");
	hp_bl_HTML.setWidth(240);
	hp_bl_HTML.setHeight(320);
	hp_bl_HTML.setId(hp_bl_ID);
	hp_bl_HTML.setName(hp_bl_ID);
	hp_bl_HTML.setScale('noscale');
	hp_bl_HTML.setSAlign('tl');
	hp_bl_HTML.setWMode('opaque');
	hp_bl_HTML.setBGColor('#FFFFFF');
	
	hp_bl_HTML.setSrc('test9.swf');
	
	hp_bl_HTML.setVersion(10);
	hp_bl_HTML.useExpressInstall(true);
	function hp_bl_HTML_Callback(msg) {
		alert(msg);
	}
	hp_bl_HTML.setExpressInstallCallback("hp_bl_HTML_Callback");
	hp_bl_HTML.addFlashvar('flashvar1', 'test value, as3');
	hp_bl_HTML.writeToDocument(document);
</script>
<hr>
<script type="text/javascript">
	var hp_bl_ID = 'test_swf';
	var hp_bl_HTML = new unFocus.SwfShim("SwfShim.swf");
	hp_bl_HTML.setWidth(240);
	hp_bl_HTML.setHeight(320);
	hp_bl_HTML.setId(hp_bl_ID);
	hp_bl_HTML.setName(hp_bl_ID);
	hp_bl_HTML.setScale('noscale');
	hp_bl_HTML.setSAlign('tl');
	hp_bl_HTML.setWMode('opaque');
	hp_bl_HTML.setBGColor('#FFFFFF');
	
	hp_bl_HTML.shimMode = true;
	
	hp_bl_HTML.setSrc('test6.swf');
	
	hp_bl_HTML.addFlashvar('flashvar1', 'test value, as2');
	
	hp_bl_HTML.writeToDocument(document);
</script>
<script type="text/javascript">
	var hp_bl_ID = 'test_swf';
	var hp_bl_HTML = new unFocus.SwfShim("SwfShim.swf");
	hp_bl_HTML.setWidth(240);
	hp_bl_HTML.setHeight(320);
	hp_bl_HTML.setId(hp_bl_ID);
	hp_bl_HTML.setName(hp_bl_ID);
	hp_bl_HTML.setScale('noscale');
	hp_bl_HTML.setSAlign('tl');
	hp_bl_HTML.setWMode('opaque');
	hp_bl_HTML.setBGColor('#FFFFFF');
	
	hp_bl_HTML.setSrc('test9.swf');
	
	hp_bl_HTML.shimMode = true;
	
	hp_bl_HTML.setVersion(10);
	hp_bl_HTML.useExpressInstall(true);
	function hp_bl_HTML_Callback(msg) {
		alert(msg);
	}
	hp_bl_HTML.setExpressInstallCallback("hp_bl_HTML_Callback");
	hp_bl_HTML.addFlashvar('flashvar1', 'test value, as3');
	hp_bl_HTML.writeToDocument(document);
</script>
</body>
</html>
